/*
 * @Description:
 * @Author: fhw
 * @Date: 2022-12-31 22:33:49
 */
import { defineComponent, PropType } from 'vue'
import Icon from '@ant-design/icons-vue'
const props = {
	fontSize: {
		type: Number as PropType<number>,
		default: 26,
	},
	active: {
		type: Boolean as PropType<boolean>,
		default: false,
	},
} as const
export default defineComponent({
	props,
	setup(props) {
		return () => (
			<Icon
				component={() =>
					props.active ? (
						<svg
							class="icon"
							viewBox="0 0 1024 1024"
							version="1.1"
							xmlns="http://www.w3.org/2000/svg"
							p-id="65961"
							width={props.fontSize}
							height={props.fontSize}
						>
							<path
								d="M192.896 964.709c-41.609 0-66.578-11.107-72.243-32.154-2.601-9.653-2.601-28.451 26.666-45.466 23.537-13.686 45.046-34.27 64.088-61.201-111.691-81.918-175.317-201.41-175.317-331.019 0-236.452 215.14-428.848 479.582-428.848 264.594 0 479.868 192.375 479.868 428.848 0 236.497-215.273 428.893-479.868 428.893-47.031 0-94.016-6.324-139.791-18.843-64.198 43.945-135.955 59.791-182.986 59.791z"
								fill="#07C160"
								p-id="65962"
							></path>
						</svg>
					) : (
						<svg
							class="icon"
							viewBox="0 0 1024 1024"
							version="1.1"
							xmlns="http://www.w3.org/2000/svg"
							p-id="64113"
							width={props.fontSize}
							height={props.fontSize}
						>
							<path
								d="M192.32 956.124c-41.193 0-65.913-10.996-71.52-31.811-2.574-9.578-2.574-28.167 26.4-45.011 23.302-13.571 44.596-33.927 63.447-60.611-110.574-81.076-173.564-199.396-173.564-327.709 0-234.087 212.989-424.56 474.764-424.56 261.971 0 475.069 190.451 475.069 424.56 0 234.131-213.12 424.626-475.047 424.626-46.56 0-93.076-6.284-138.393-18.676-63.534 43.527-134.574 59.193-181.156 59.193zM177.658 911.789c4.102 0.436 8.989 0.698 14.662 0.698 41.847 0 106.953-14.967 164.16-56.967l8.706-6.414 10.386 3.076c44.553 13.156 90.393 19.811 136.298 19.811 237.884 0 431.411-170.902 431.411-380.989 0-210.044-193.549-380.924-431.433-380.924-237.731 0-431.127 170.88-431.127 380.924 0 120.174 62.64 230.902 171.862 303.796l17.411 11.629-10.887 17.869c-23.171 38.073-50.553 67.44-81.447 87.491z"
								fill="#ffffff"
								p-id="64114"
							></path>
						</svg>
					)
				}
			/>
		)
	},
})
